import request from '@/utils/axiosUtil'

class HomeApi {
  static homeApi: HomeApi = new HomeApi()

  findExamList(currentPage: number = 1, PageSize: number = 10, data?: any) {
    return request.post(
      `/Home/GetExamList?currentPage=${currentPage}&PageSize=${PageSize}`,
      false,
      data
    )
  }
  findReportPdf(id: string) {
    return request.get(`/home/PdfReport/UIS/${id}.html`, false)
  }
}

export default HomeApi.homeApi
